﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Core.Interfaces;
using Core.Interfaces.IPresenters;

namespace Core.Presenters
{
    class PricesPresenter
    {
        private Dictionary<IBuilding, int> _buildingPrices = new Dictionary<IBuilding, int>();
        private IPricingView _view;

        public PricesPresenter(Dictionary<IBuilding, int> buildingPrices,IPricingView view )
        {
            _buildingPrices = buildingPrices;
            _view = view;
            _view.BuildingPrices = buildingPrices;
            _view.Buildings = buildingPrices.Keys.ToList();
            _view.ShowDialog();
            
        }
    }
}
